x = 2
s = 0
while x != 0:
    print("sum: ", s)
    x = int(input("enter a number: "))
    s = s+x
print('Total: ', s)
